<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <script src="./js/vue.js" ></script>
</head>
<body>
    
    <div id="app">
        <!-- 
            MVVM设计思想
                M(model)
                V(view)
                VM(view-model)
            改动其中一项,那么另外的也会修改
         -->
        <div>{{msg}}</div>
        <input type="text" v-model="msg">
    </div>

    <script type="text/javascript">
        
       var vm = new Vue({
           el:'#app',
           data:{
               msg:"Hello World",
               
           }
       })      
       
    </script>
</body>
</html>


       